/**
 * 
 */
package cn.code.auth;

import org.springframework.social.connect.Connection;
import org.springframework.social.connect.ConnectionSignUp;

/**
 * @author zhailiang
 *
 */

public class DemoConnectionSignUp implements ConnectionSignUp {

	/* (non-Javadoc)
	 * @see org.springframework.social.connect.ConnectionSignUp#execute(org.springframework.social.connect.Connection)
	 */
	@Override
	public String execute(Connection<?> connection) {
		System.out.println("链接注册");
		System.out.println(connection.getDisplayName());
		return connection.getDisplayName();
	}

}
